<div class="tickets view">
<h2><?php echo __('Ticket'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Sys Website'); ?></dt>
		<dd>
			<?php echo $this->Html->link($ticket['SysWebsite']['title'], array('controller' => 'sys_websites', 'action' => 'view', $ticket['SysWebsite']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Sys Seo'); ?></dt>
		<dd>
			<?php echo $this->Html->link($ticket['SysSeo']['title'], array('controller' => 'sys_seos', 'action' => 'view', $ticket['SysSeo']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Ticket Cate'); ?></dt>
		<dd>
			<?php echo $this->Html->link($ticket['TicketCate']['id'], array('controller' => 'ticket_cates', 'action' => 'view', $ticket['TicketCate']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Venue'); ?></dt>
		<dd>
			<?php echo $this->Html->link($ticket['Venue']['id'], array('controller' => 'venues', 'action' => 'view', $ticket['Venue']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('List Photo Id'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['list_photo_id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('View Photo'); ?></dt>
		<dd>
			<?php echo $this->Html->link($ticket['ViewPhoto']['title'], array('controller' => 'sys_photos', 'action' => 'view', $ticket['ViewPhoto']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Title'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['title']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Date Start'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['date_start']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Date End'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['date_end']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Showtime'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['showtime']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Price Max'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['price_max']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Price Min'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['price_min']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Spt Credit'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['spt_credit']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Content'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['content']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Sort'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['sort']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Sort Top'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['sort_top']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($ticket['Ticket']['modified']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Ticket'), array('action' => 'edit', $ticket['Ticket']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Ticket'), array('action' => 'delete', $ticket['Ticket']['id']), null, __('Are you sure you want to delete # %s?', $ticket['Ticket']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Tickets'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ticket'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sys Websites'), array('controller' => 'sys_websites', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sys Website'), array('controller' => 'sys_websites', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sys Seos'), array('controller' => 'sys_seos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sys Seo'), array('controller' => 'sys_seos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ticket Cates'), array('controller' => 'ticket_cates', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ticket Cate'), array('controller' => 'ticket_cates', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Venues'), array('controller' => 'venues', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue'), array('controller' => 'venues', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sys Photos'), array('controller' => 'sys_photos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New View Photo'), array('controller' => 'sys_photos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ticket Prices'), array('controller' => 'ticket_prices', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ticket Price'), array('controller' => 'ticket_prices', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Ticket Prices'); ?></h3>
	<?php if (!empty($ticket['TicketPrice'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Ticket Id'); ?></th>
		<th><?php echo __('Ticket Price State Id'); ?></th>
		<th><?php echo __('Showtime'); ?></th>
		<th><?php echo __('Price'); ?></th>
		<th><?php echo __('Description'); ?></th>
		<th><?php echo __('Sort'); ?></th>
		<th><?php echo __('Spt Eticket'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($ticket['TicketPrice'] as $ticketPrice): ?>
		<tr>
			<td><?php echo $ticketPrice['id']; ?></td>
			<td><?php echo $ticketPrice['ticket_id']; ?></td>
			<td><?php echo $ticketPrice['ticket_price_state_id']; ?></td>
			<td><?php echo $ticketPrice['showtime']; ?></td>
			<td><?php echo $ticketPrice['price']; ?></td>
			<td><?php echo $ticketPrice['description']; ?></td>
			<td><?php echo $ticketPrice['sort']; ?></td>
			<td><?php echo $ticketPrice['spt_eticket']; ?></td>
			<td><?php echo $ticketPrice['created']; ?></td>
			<td><?php echo $ticketPrice['modified']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'ticket_prices', 'action' => 'view', $ticketPrice['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'ticket_prices', 'action' => 'edit', $ticketPrice['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'ticket_prices', 'action' => 'delete', $ticketPrice['id']), null, __('Are you sure you want to delete # %s?', $ticketPrice['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ticket Price'), array('controller' => 'ticket_prices', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
